home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Build Support / MccVars.make < prev    next >
Encoding:
Text File  |  1996-02-19  |  1.7 KB  |  69 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        MccVars.make
  3. #
  4. #    Contains:    Build variables for Mcc compiler
  5. #
  6. #    Written by:    Steve Smith
  7. #
  8. #    Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #    Change History (most recent first):
  11. #
  12.  
  13. DumpFileSize = 9100
  14.  
  15. # ----------------------------------------------------------------------
  16. # Compiler
  17. # ----------------------------------------------------------------------
  18.  
  19. CPlus = Mcc
  20. C = Mcc
  21.  
  22. SymOption = -g
  23. OptimizationOption = 1            # 0 = none, 1 = basic, 4 = all
  24. StructAlignmentOption = 1        # 1 = 68k, 0 = ppc
  25. PascalStringOption = 1            # 1 = ok, 0 = not ok
  26. LoopUnrollOption = 1            # 1 = yes, 0 = no
  27. LanguageOption = cp                # cp, knr, arm, ansi, relaxed
  28.  
  29. GOptions =     -d ODDebug=0                        ∂
  30.             -d _PLATFORM_MACINTOSH_=1            ∂
  31.             -d _PLATFORM_BIG_ENDIAN_=1            ∂
  32.             -O{OptimizationOption}                ∂
  33.             {SymOption}                            ∂
  34.             -Aalign_mac {StructAlignmentOption}    ∂
  35.             -Ac={LanguageOption}                ∂
  36.             -Apascalstr={PascalStringOption}    ∂
  37.             -Aunroll={LoopUnrollOption} 
  38.  
  39. CPlusOptions = {GOptions} 
  40.  
  41. # ----------------------------------------------------------------------
  42. # Linker
  43. # ----------------------------------------------------------------------
  44.  
  45. LinkTool = PPCLink
  46.  
  47. PPCLinkOptions = {MultifinderOption} -sym {SymOption} -tocDataRef on -roIsText on
  48.  
  49. PPCLinkShLibOptions = -xm s
  50.  
  51. PPCShLibPreLibraries = {DefaultPPCPreLibs}
  52.  
  53. PPCShLibPostLibraries = {DefaultPPCPostLibs} "{PPCLibraries}"MrCPlusLib.o
  54.  
  55. # ----------------------------------------------------------------------
  56. # Post Processing
  57. # ----------------------------------------------------------------------
  58.  
  59. SymTool = MakeSym
  60.  
  61. MakeSymOptions = -i : -r -sym {SymOption}
  62.  
  63. MergeFragmentOptions = -c -x
  64.  
  65. MergeFragment68KOption = -t pwpc
  66.  
  67. MergeFragmentShLibOptions = {MergeFragment68KOption}
  68.  
  69.